package com.zp.self;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by zengpeng on 2020/12/07
 */
@SpringBootApplication
public class ZpTestApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZpTestApplication.class, args);
    }

    @GetMapping("/HelloWorld")
    public String helloWorld() {

        return "Hi, i'm ZengPeng";
    }

    @GetMapping("/Hello, you in the future")
    public String hello() {

        return "谢谢你当初的努力,我过得很好，不用担心了 老朋友！";
    }
}
